﻿using System;
using System.Collections.Generic;

namespace Rj.PersonnelVerification.Server.DataBaseContext.Entities
{
    /// <summary>
    /// 权限acl
    /// </summary>
    public partial class SdrDataPermission
    {
        /// <summary>
        /// 主键
        /// </summary>
        public long Id { get; set; }
        /// <summary>
        /// 职工工号
        /// </summary>
        public long UserId { get; set; }
        /// <summary>
        /// 数据权限编码
        /// </summary>
        public string PermissionsCode { get; set; } = null!;
        /// <summary>
        /// 数据权限（1查看 2编辑）
        /// </summary>
        public int PermissionsType { get; set; }
        /// <summary>
        /// 所属院区
        /// </summary>
        public int HospitalId { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }
        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime? UpdateTime { get; set; }
    }
}
